package com.ai.chat.mapper;

import com.ai.chat.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    // 根据用户名查询用户
    User selectByUsername(String username);
}